package com.sheng.service.impl;

import com.sheng.controller.UserController;
import com.sheng.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Override
    public boolean login(String username, String password) {
        if(username.equals("zhangguosheng") && password.equals("22180902")){
            return true;
        }
        return false;
    }
}
